package com.csii.pos.posplan.service.Impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.csii.pos.posplan.PosPlan;
import com.csii.pos.posplan.mapper.PosPlanMapper;
import com.csii.pos.posplan.service.PosPlanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @author:
 * @create:
 */
@Service
public class PosPlanServiceImpl extends ServiceImpl<PosPlanMapper,PosPlan> implements PosPlanService {

    @Resource
    private PosPlanMapper posPlanMapper;
    @Override
    public IPage queryPosPlan(Page<PosPlan> page, PosPlan posPlan) {
        String posPlanDt = posPlan.getPosPlanDt();
        String posPlanItem = posPlan.getPosPlanItem();
        return posPlanMapper.queryPosPlan(page,posPlanDt,posPlanItem);
    }
}
